how to deploy application gateway